<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>首页 >> 品牌印象</title>
        <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
        <link href="__PUBLIC__/css/hangye.css" rel="stylesheet" type="text/css" />
        <link href="__PUBLIC__/css/global.css" rel="stylesheet" type="text/css" />
        <link href="__PUBLIC__/css/comm.css" rel="stylesheet" type="text/css" />
		<link href="__PUBLIC__/css/panel.css" rel="stylesheet" type="text/css" />
        <link href="__PUBLIC__/css/brandyinxiang.css" rel="stylesheet" type="text/css" />
        <script src="__PUBLIC__/js/jquery.js" type="text/javascript"></script>
        <script src="__PUBLIC__/js/brandyinxiang.js" type="text/javascript"></script>
    </head>
    <body>
    	<div class="containner">
        
<script src="__PUBLIC__/js/comm.js" type="text/javascript"></script>
<script>

    
    function autologin(){
        $.ajax({
            type: "POST",
            url: "__APP__/Home/Index/doLogin",
            dataType: "json",
            data: "auto",
            success: function(data){
                //alert("Data Loaded: " + data);
                if(data != 0){
                    $('#loginform').html('尊敬的'+data.user_name+'欢迎回来!');
                        $('#loginform1').html('<a href="javascript:;" onclick="logout();"><span>退出</span></a>');
                }
                   
            }
        });
    }

    $(function(){
        bindRegedit('__PUBLIC__/htm/regedit.htm','__APP__/Home/Index/regedit');
        autologin();
        $('#loginBtn').click(function(){
            
            var username = $.trim($('#username').val());
            var password = $.trim($('#password').val());
            var verify = $.trim($('#verify').val());
            if(username.length<1){alert("请填写用户名");return false;}
            if(password.length<1){alert("请填写密码");return false;}
            if(password.verify<1){alert("请填写验证码");return false;}
            $.ajax({
                type: "POST",
                url: "__APP__/Home/Index/doLogin",
                dataType: "json",
                data:   "username="+username+"&password="+password,
                success: function(data){
                    //alert("Data Loaded: " + data);
                    if(data == 0){
                        alert('登陆失败，请重试！');
                    }else if(data == 2){
                    	alert('登陆失败，你的邮箱还未被激活，请激活后再试！');
                    }
                    else{
                    	$('#loginform').html('尊敬的'+data.user_name+'欢迎回来!');
                        $('#loginform1').html('<a href="javascript:;" onclick="logout();"><span>退出</span></a>');
                    }
                }
            });
        });
    });
    function logout(){
        $.get("__APP__/Home/Index/logOut", {},function(){window.location.reload();})
    	$("#login_p").show();
		$("#lio").hide();
	}
</script>
<div id="regeditDiv" style="position:absolute;top:0px;margin:auto;z-index:299"></div>
<div id="header"> 
    <!--上半部分-->
    <div class="header_top">
        <div class="top_menu">
            <ul>
                <li id="loginform">用户名：<input id="username" type="text" size="15" style="height: 12px; width: 80px;"  >&nbsp;
                    密码：<input id="password" size="15" type="password" style="height: 12px; width: 80px;" />
                </li>
                <li class="cart" id="loginform1"><a href="javascript:;" id="loginBtn" ><span>登录</span></a></li>
                <li class="point"><a href="javascript:;" id="regeditBtn"><span>注册</span></a></li>
                <!--<li id="date" class="date">2009年10月6</li>日-->
                <!--<li id="week" class="week">星期</li>二-->
                <!--<li id="time" class="time">8：31</li>-->
                <!--<li id="time_pic" class="time_pic"></li>-->
                <!--农历-->
                <!--<li id="chinese_date" class="chinese_date">四月初六</li>-->
                <!--<span class="solar_terms">小满</span>-->
                <li class="ropmenu_r"></li>
            </ul>
        </div>
        <div class="logo"><a href="#"><img src="__PUBLIC__/images/logo.gif" /></a></div>
        <div class="clear"></div>
    </div>
    <!--end 上半部分--> 
    <!--导航及下半部分-->
    <div class="header_main">
        <div class="menu"> 
            <!--导航-->
            <ul class="menu_list1">
                <li class="menu_list1_r">
                    <ul>
                        <ul>
                            <li class="menu_select"><a href="/">首页</a></li>
                            <li><a href="/Industry/index/id/1">个人用品</a></li>
                            <li><a href="/Industry/index/id/2">办公器材</a></li>
                            <li><a href="/Industry/index/id/3">家居生活</a></li>
                            <li><a href="/Industry/index/id/4">家电数码</a></li>
                            <li><a href="/Industry/index/id/5">汽车天地</a></li>
                            <li><a href="/BaseBrand/">品牌印象</a></li>
                            <li><a href="/User/my/">个人页面</a></li>
                        </ul>
                    </ul>
                </li>
            </ul>
            <!--end 导航--> 
            <!--热门搜索-->
            <!--<?php if($memo != ''): ?><ul class="menu_list2">            
	                <?php echo ($memo); ?>
	            </ul><?php endif; ?>--> 
            
            <!--end 热门搜索--> 
            <!--search-->
            <div class="search" style="width:450px; margin:0px 0px 0px 50px; padding:8px; background:none; color:#fff;">
            <span><?php echo ($industry_explain); ?></span>
            </div>
            <div class="search">
                <div class="search_th">
                    <form action="__APP__/Share/shareList/" name="form1" method="post">
                        <input type="text" name="query" value="<?php echo ($query); ?>" class="text" onclick="this.value='';"/>
                        <button class="" type="submit" onclick="document.form1.submit();">搜 索</button>
                    </form>
                </div>
            </div>
            <!--end search--> 
            <!--快捷按钮-->
            <!-- ul class="menu_list3">
					<li>游客您好，获得更好用户体验请注册或登录！</li>
					<li class="cart"><a href="#"><span>登录</span></a></li>
					<li class="point"><a href="#"><span>注册</span></a></li>
				</ul -->
            <!--end 快捷按钮-->
            <div class="clear"></div>
        </div>
        <div class="header_bottom"><div class="menu"></div></div>
    </div>
    <!--end 导航及下半部分--> 
</div>

        <!--导航结束--> 
        <div class="body-center">
            <div class="path">
            <div class="w_tithead"> <strong>您当前的位置是： </strong><a href="__APP__">品购网首页</a>品牌印象</div>
            </div>
            <span class="global_title">品牌印象</span>
            <div class="brandIndex" id="brandIndex">
                <span pi="A">A</span><span pi="B">B</span><span pi="C">C</span><span pi="D">D</span><span pi="E">E</span><span pi="F">F</span>
                <span pi="G">G</span><span pi="H">H</span><span pi="I">I</span><span pi="J">J</span><span pi="K">K</span><span pi="L">L</span>
                <span pi="M">M</span><span pi="N">N</span><span pi="O">O</span><span pi="P">P</span><span pi="Q">Q</span><span pi="R">R</span>
                <span pi="S">S</span><span pi="T">T</span><span pi="U">U</span><span pi="V">V</span><span pi="W">W</span><span pi="X">X</span>
                <span pi="Y">Y</span><span pi="Z">Z</span>
            </div>
            <div class="brand_list" id="brandyinxinag_list">
            </div>
	        <div class="dashed"><span class="global_title">标签墙展示</span></div>
	        <div class="tags">
<?php if(is_array($tags)): $i = 0; $__LIST__ = $tags;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): ++$i;$mod = ($i % 2 )?><span style="font-size:<?php echo ($val["fontsize"]); ?>; font-weight:<?php echo ($val["fontweight"]); ?>;"><a href="__APP__/Tag/tagShareList/subject/<?php echo ($val["subject"]); ?>"><?php echo ($val["subject"]); ?></a></span><?php endforeach; endif; else: echo "" ;endif; ?>


</div>
        </div>
    
     <!--页尾开始-->
      <div class="pagefoot1">
          <span><a href="http://www.360pick.com/about360pick.html">关于品购</a></span>
          <span><a href="http://www.360pick.com/mianzeshengming.html">免责声明</a></span>
          <span><a href="http://www.360pick.com/linkother.html">友情链接</a></span>
          <span><a href="http://www.360pick.com/map.html">网站地图</a></li></span>
          <span><a href="http://www.360pick.com/yijianfankui.html">意见反馈</a></span>
          <span><a href="http://www.360pick.com/contactus.html">联系我们</a></span>
      
          <div class="pagefoot2">
              品购<a>360pick.com</a>版权所有 <a href="http://www.miibeian.gov.cn">津ICP备10200350号</a>
			<script src="http://s17.cnzz.com/stat.php?id=2454650&web_id=2454650"                          language="JavaScript">
            </script>
          </div>
      </div>
      <!--页尾结束-->
    <!--页尾部分-->
	</div>   
    </body>
</html>
<script>
    function bindBrandIndex(){
        $("#brandIndex span").click(function(){
            var word = $(this).attr('pi');
            $.get("__APP__/Home/BaseBrand/search/",
                { word: word},
                function(data){
                    $("#brandyinxinag_list").html(data);
                }
            );           
        });
    }
    $(function(){
        bindBrandIndex();
    });
</script>